Skip to main content

SMTP with Authentication

There are scenarios where sending an email to the SMTP, either as a direct sender or as a relay, requires authentication to access the SMTP server.


Configuring SMTP Authentication

If you need to access the SMTP server with authentication, you need to set some keys in the Web Config of your Bizagi Work Portal.

  1. Open the Web application folder of your project (by default located in C:\Bizagi\Projects\MyProject\WebApplication).
  2. Open the Web.config file.
  3. Include the following keys inside the <appSettings> tag:
<add key="smtpType" value="SMTPAuth" />
<add key="smtpAccount" value="" />
<add key="smtpPassword" value="" />

in the smtpAccount tag value, set the account to access the SMTP server, and in the smtpPassword tag value, include the password of the user having rights to access the SMTP.

If the SMTP uses secure sockets, include also the following:

<add key="smtpEnableSsl" value="true" />

When you configure SMTP with authentication, the configuration set in the field From in E-mail definition Window is overridden.